package com.rnkrsoft.suyan.config.server.services.file.domains;

import com.rnkrsoft.suyan.config.internal.enums.EnvironmentTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.doc.annotation.ApidocElement;
import javax.doc.data.PaginationRequest;


/**
 * Created by woate on 2019/5/15.
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryFileRequest extends PaginationRequest {
    @ApidocElement(value = "项目")
    String projectId;
    @ApidocElement(value = "环境类型", required = false, enumClass = EnvironmentTypeEnum.class)
    Integer environmentType;
    @ApidocElement(value = "环境名", required = false)
    String environmentName;
    @ApidocElement(value = "机器名", required = false)
    String machineName;
    @ApidocElement(value = "文件路径", required = false)
    String filePath;
    @ApidocElement(value = "文件名", required = false)
    String fileName;
    @ApidocElement(value = "文件描述", required = false)
    String fileDesc;
}
